<!doctype html>
<html>
 <head>
  <title>个人用户注册</title>
  <meta name="viewport" content="width=device-width, initial-scale=1" charset="utf-8">
<link rel="stylesheet" href="../common/w3.css">
 <link rel="stylesheet" href="../common/assets/css/bootstrap.css" />
<style>

body, html {
    height: 100%;
    color: #777;
    line-height: 1.8;
}

/* Create a Parallax Effect */
.bgimg-1{
    opacity: 0.7;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* First image (Logo. Full height) */
.bgimg-1 {
    background-image: url('../upload/tp1.jpg');
    min-height: 100%;
}


</style>
 </head>
 <body>
 <!-- Navbar (sit on top) -->
<div class="w3-top">
  <ul class="w3-navbar" id="myNavbar">
    <li><a href="index.php" class="w3-padding-large w3-black">HOME</a></li>
  </ul>
</div>

 <center><h3>个人用户注册</h3></center>
 <link rel="stylesheet" >
  <form method=post action="admin.php?c=user&m=add" enctype="multipart/form-data" class="form-horizontal">
  <div class="form-group">
    <label  class="col-sm-2 control-label">姓名</label>
    <div class="col-sm-6">
    <input type="text" class="form-control" name="uname" required>
    </div>
  </div>

    <div class="form-group">
    <label  class="col-sm-2 control-label">密码</label>
    <div class="col-sm-6">
    <input type="password" class="form-control" name="password" required>
    </div>
  </div>
   <div class="form-group ">
    <label  class="col-sm-2 control-label">性别</label>
    <div class="radio col-sm-2">
    <input type="radio" name="gender" id="radio1" value="1" checked>
男
</div>
<div class="radio col-sm-0">
    <input type="radio" name="gender" id="radio2" value="2">
女
</div>
    </div>

    <div class="form-group">
   <label  class="col-sm-2 control-label">生日</label>
   <div class="col-sm-6">
    <input type="date" class="form-control" name="birthdate" required>
    </div>
    </div>

    <div class="form-group">
   <label  class="col-sm-2 control-label">爱好</label>

    <label>
    <input type="checkbox" name="hobby[]" value="旅游" checked>旅游
    </label>
    <label>
    <input type="checkbox" name="hobby[]" value="登山"  checked>登山
    </label>
    <label>
    <input type="checkbox" name="hobby[]" value="健身">健身
    </label>
    <label>
    <input type="checkbox" name="hobby[]" value="上网">上网
    </label>
    <label>
    <input type="checkbox" name="hobby[]" value="游泳">游泳
    </label>
    </div>

    <div class="form-group">
    <label class="col-sm-2 control-label">学历</label>
    <div class="col-sm-6">
    <select class="form-control" name="degree">
    <option value="0">----请选择----</option>
    <option value="1">高中</option> 
    <option value="2">大学</option>
    <option value="3">研究生</option>  
    <option value="4">博士生</option>
    </select>
    </div>
  </div>

  <div class="form-group">
  <label  class="col-sm-2 control-label">简介</label>
  <div class="col-sm-6">
    <textarea class="form-control" rows="2" placeholder="自我简介" name="intro"></textarea>
    </div>
  </div>

  <div class="form-group">
  <label  class="col-sm-2 control-label">头像</label>
  <div class="col-sm-6">
    <input type="file" class="btn btn-primary" name="pic">
  </div>
  </div>

  <div class="form-group col-sm-8 control-label">
    <button type="submit" class="btn btn-primary" value="提交">提交</button>
    <button type="reset" class="btn btn-primary" value="重置">重置</button>
  </div>
 </form>
 </body>
</html>